<template>
	<view class="wrap">
		<image src="../../static/imgs/Render_1.gif"
		
		 lazy-load class="ethq-index-bg"></image>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				screenHeight:''
			};
		},
		 onLoad() {
			let src = '../../static/imgs/audio.mp3';
			//实例化声音  
			const Audio = uni.createInnerAudioContext();  
			Audio.autoplay=true;  
			Audio.src = src;//音频地址  
			Audio.onError((res) => {  
				console.log(res.errMsg);  
				console.log(res.errCode);  
				Audio.destroy();//发生错误后，销毁实例  
			});  
			Audio.onPause(function() {      
				console.log('end');      
				Audio.destroy();//这里是播放暂停后，销毁实例  
			});  
			Audio.onStop(function() {      
				console.log('stop');      
				Audio.destroy();//这里是播放停止后，销毁实例  
			});  
			Audio.onEnded(function() {      
				console.log('ended');      
				Audio.destroy();//这里是播放结束后，销毁实例  
			});
			 this.screenHeight = uni.getSystemInfoSync().windowHeight;
			 setTimeout(()=>{
				 // return
				 // uni.reLaunch({
				 // 	url:"/pages/new-login/new-register"
				 // })
				 // return
				uni.reLaunch({
					url:'/pages/index/index'
				})
			 },3000)
		},
		onShow(){
		},
		methods:{
		}
	}
</script>
<style>
	page{
		background: #000 !important;
		width: 750upx;
		height: 100vh;
	}
</style>
<style lang="scss">
	.wrap{
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.ethq-index-bg{
		width: 300rpx;
		height: 300rpx;
		margin-top: 50%;
	}
</style>